import request from '@/utils/request'

// 查询monnify虚拟账户列表
export function listExt_monnify_reserved_accounts(query) {
    return request({
        url: '/bizsys/ext_monnify_reserved_accounts/list',
        method: 'get',
        params: query
    })
}

// 查询monnify虚拟账户详细
export function getExt_monnify_reserved_accounts(id) {
    return request({
        url: '/bizsys/ext_monnify_reserved_accounts/' + id,
        method: 'get'
    })
}

// 新增monnify虚拟账户
export function addExt_monnify_reserved_accounts(data) {
    return request({
        url: '/bizsys/ext_monnify_reserved_accounts',
        method: 'post',
        data: data
    })
}

// 修改monnify虚拟账户
export function updateExt_monnify_reserved_accounts(data) {
    return request({
        url: '/bizsys/ext_monnify_reserved_accounts',
        method: 'put',
        data: data
    })
}

// 删除monnify虚拟账户
export function delExt_monnify_reserved_accounts(id) {
    return request({
        url: '/bizsys/ext_monnify_reserved_accounts/' + id,
        method: 'delete'
    })
}

// 导出monnify虚拟账户
export function exportExt_monnify_reserved_accounts(query) {
    return request({
        url: '/bizsys/ext_monnify_reserved_accounts/export',
        method: 'get',
        params: query
    })
}
